package com.hyt.it.ogt.kq.common.gov.enums;

import lombok.Getter;

/**
 * @author 刘恒活
 * @since 2021/8/30 9:40
 */
@Getter
public enum TaskConfigCodeEnum {
    /**
     * 上传考试过程状态周期
     */
    UPLOAD_DATA_PERIOD("uploadDataPeriod","上传考试过程状态数据周期"),
    /**
     * 上传考试结果包含项
     */
    UPLOAD_DATA_OPTION("uploadDataOption","上传考试结果包含项"),
    /**
     * 解锁屏密码
     */
    UNDO_PASSWORD("undoPassword","解锁屏密码"),
    /**
     * 考生访问外网整场密码
     */
    THROUGHOUT_THE_PWD("ThroughoutThePwd","考生访问外网整场密码"),
    /**
     * 未签到不允许登录
     */
    SIGN_LOGIN("signLogin","未签到不允许登录"),
    /**
     * 开启严格对号入座模式
     */
    SEAT_NO("seatNo","开启严格对号入座模式"),
    /**
     * 考试系统脚本版本号
     */
    SCRIPT_VERSION("scriptVersion","考试系统脚本版本号"),
    /**
     * 允许提前下载试卷分钟数
     */
    PAPER_AHEAD_TIME("paperAheadTime","允许提前下载试卷分钟数"),
    /**
     * 允许迟到分钟数
     */
    LATE_TIME("lateTime","允许迟到分钟数"),
    /**
     * 不允许考生访问外网
     */
    IS_OPEN_EXTRANET_VISIT("isOpenExtranetVisit","不允许考生访问外网"),
    /**
     * 考试系统版本号
     */
    EXAM_VERSION("examVersion","考试系统版本号"),
    /**
     * 考生访问外网考试端密码
     */
    EXAM_CLIENT_VISIT_PWD("examClientVisitPwd","考生访问外网考生端密码"),
    /**
     * 拦截其他应用
     */
    BLOCK_OTHER_APP("BlockOtherApp","拦截其他应用"),
    /**
     * 允许提前开考分钟数
     */
    AHEAD_TIME("aheadTime","允许提前开考分钟数"),
    /**
     * 允许提前交卷分钟数
     */
    AHEAD_SUBMIT_TIME("aheadSubmitTime","允许提前交卷分钟数"),
    /**
     * 作答小题的最大数量
     */
    TIME_QUANTUM_MAX_SAVE("TimeQuantumMaxSave","作答小题的最大数量"),
    /**
     * 有效时间点之后，某个时间段内浏览和作答的比例
     */
    TIME_QUANTUM_BROWSE_AND_ANSWER("TimeQuantumBrowseAndAnswer","有效时间点之后，某个时间段内浏览和作答的比例"),
    /**
     * 有效时间点之后，某个时间段，单位分钟
     */
    TIME_QUANTUM("TimeQuantum","有效时间点之后，某个时间段，单位分钟"),
    /**
     * 按照试卷顺序做到，超过N道
     */
    OUT_OF_PAPER_ORDER_NUM("OutOfPaperOrderNum","按照试卷顺序做到，超过N道"),
    /**
     * 不按正常题号作答，超过N道有效时间点之后
     */
    OUT_OF_ORDER_NUM("OutOfOrderNum","不按正常题号作答，超过N道有效时间点之后"),
    /**
     * 考试系统大类
     */
    EXAM_SYSTEM_TYPE("ExamSystemType","考试系统大类"),
    /**
     * 是否开启行为分析
     */
    ENABLE_BEHAVIOR("EnableBehavior","是否开启行为分析"),


    EXAM_START_WITHIN_MINUTE("ExamStartWithinMinute","未作答开考X分钟"),

    NOTHING_OPERATE_MINUTE("NothingOperateMinute","超过X分钟"),

    ANSWER_TIME_BELOW("AnswerTimeBelow","密集作答时间段"),

    ANSWERED_QUESTION_PERCENT("AnsweredQuestionPercent","密集作答时间段"),

    EXAM_START_AFTER_MINUTE("ExamStartAfterMinute","高频浏览生效时间"),

    UNANSWERED_BROWSER_PERCENT("UnansweredBrowserPercent","高频浏览比例"),

    ANSWERED_PERCENT("AnsweredPercent","总题数比例"),

    BROWSER_OR_ANSWER_COUNT("BrowserOrAnswerCount","浏览作答比例"),

    BROWSE_QUESTION_COUNT("BrowseQuestionCount","高频浏览比例"),

    WITHIN_MINUTE("WithinMinute","大量修改生效时间"),

    BROWSE_QUESTION_PERCENT("BrowseQuestionPercent","作答题比例"),

    MODIFY_ANSWER_PERCENT("ModifyAnswerPercent","修改题比例"),


    /**
     * 整场中断分钟数
     */
    BREAK_TIME("BreakTime","整场中断分钟数"),


    /**
     * 加时分钟数，单位分钟
     */
    ADD_TIME_LIMIT("AddTimeLimit", "加时分钟数，单位分钟"),

    /**
     * 允许推迟开考分钟数
     */
    WAIT_START_EXAM("WaitStartExam", "允许推迟开考分钟数"),

    /**
     * 考试类型编号
     */
    EXAM_CLASS_CODE("ExamClassCode", "考试类型编号"),

    /**
     * 考生客户端访问外网密码
     */
    EXAMINEE_CLIENT_VISIT_PWD("ExamineeClientVisitPwd", "考生客户端访问外网密码"),

    /**
     * 作答预警时间段（分钟）
     */
    REPLY_PERIOD("ReplyPeriod", "作答预警时间段（分钟）"),

    /**
     * 作答时间段预警答题数
     */
    REPLY_NUM("ReplyNum", "作答时间段预警答题数"),

    /**
     * 未作答预警时间段（分钟）
     */
    UN_REPLY_PERIOD("UnReplyPeriod", "未作答预警时间段（分钟）"),

    /**
     * 是否签到后允许登陆
     */
    Is_Login_After_Sign("IsLoginAfterSign", "是否签到后允许登陆"),

    ;

    private final String code;
    private final String msg;

    TaskConfigCodeEnum(String name, String msg) {
        this.msg = msg;
        this.code = name;
    }
}
